package auggen;

import org.apache.commons.math.fraction.BigFraction;

//by Andrew Leach

public class Point {
	BigFraction x;
	BigFraction y;
	LineSegment lineseg;
	
	//constructors
	public Point(){
		x = new BigFraction(0);
		y = new BigFraction(0);
	}
	
	public Point(BigFraction _x, BigFraction _y, LineSegment _lineseg){
		x = _x;
		y = _y;
		lineseg = _lineseg;
	}
	
	//accessor methods
	public BigFraction getX(){
		return x;
	}
	
	public BigFraction getY(){
		return y;
	}
	
	public LineSegment getSeg(){
		return lineseg;
	}
	
	//mutator methods
	public void setX(BigFraction _x){
		x = _x;
	}
	
	public void setY(BigFraction _y){
		y = _y;
	}
	
	public void setSeg(LineSegment seg){
		lineseg = seg;
	}

}
